package com.bdqn.t330.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.bdqn.t330.entity.Right;
import com.bdqn.t330.entity.RightVO;
import com.bdqn.t330.entity.User;
import com.bdqn.t330.entity.UserInfoVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserMapper extends BaseMapper<User> {

    public List<User> findByUsrName(@Param(value = "usrName")String usrName);

    public List<Right> findRightByUsrName(@Param(value = "usrName")String usrName);

    public UserInfoVO getByUserName(@Param(value = "usrName")String usrName);

    public List<RightVO> getRightByUserName(@Param(value = "usrName")String usrName);

}
